﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true"
    CodeBehind="DetailPro.aspx.cs" Inherits="MyWeb.Module.Product.DetailPro" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="NavContent">
                        Đang duyệt:<span class="NavLink"><a href="/Default">Trang chủ</a></span><span class="NavLink"><a href="#">Chi tiết sản phẩm</a></span>
                    </div>
    <asp:ListView ID="lsvdetail" runat="server">
        <ItemTemplate>
           <div class="bodyboxpro">
                        <div class="prodetail">
                            <div class="proleftdet">
                                <div class="img-box">
                                    <a href="<%#Eval("Image") %>" title="<%#Eval("Name") %>">
                                        <img id="mainImg" src="<%#Eval("Image") %>" width="100%" height="100%"></a></div>
                                        <script type="text/javascript">                                            $(".imageslider").bxSlider({ auto: true, prevText: "", nextText: "", pause: 3e3, pager: false, minSlides: 4, maxSlides: 4, slideWidth: 50, infiniteLoop: false, nextSelector: "#gallery-controls", prevSelector: "#gallery-controls" }); $(".imageslider a").hover(function () { var e = $(this).attr("href"); $("#mainImg").attr("src", e); $("#mainImg").parent().attr("href", e) }); $('.imageslider a, .img-box a').lightBox();</script>
                            </div>
                            
                            <div class="prodetailright">
                                <div class="proname"><%#Eval("Name") %></div>
                                    <%#Eval("Detail")%>
                                <div class="proPrice">
                                    <span>Giá bán:</span><%# Formatmoney(Eval("PriceNew").ToString())%></div>
                                <div class="detailpro">
                                    <asp:LinkButton ID="muahang" runat="server" OnClick="lbtmuahang"> Đặt mua</asp:LinkButton></div>
                            </div>
                            <div class="clear">
                            </div>
                        </div>
                        <div class="mieutasp">
                            Mô tả chi tiết</div>
                        <div class="contentpro">
                                <%#Eval("DetailPro")%>
                        </div>
                        <script type="text/javascript">$(".imageslider").bxSlider({ auto: true, prevText: "", nextText: "", pause: 3e3, pager: false, minSlides: 4, maxSlides: 4, slideWidth: 50, infiniteLoop: false, nextSelector: "#gallery-controls", prevSelector: "#gallery-controls" }); $(".imageslider a").hover(function () { var e = $(this).attr("href"); $("#mainImg").attr("src", e); $("#mainImg").parent().attr("href", e) }); $('.imageslider a, .img-box a').lightBox();</script>
                    </div>
        </ItemTemplate>
    </asp:ListView>
  <div class="headboxpro">Sản phẩm cùng loại</div>
  <asp:Literal ID="ltrPro" runat="server"></asp:Literal>
</asp:Content>
